package com.dragon.codefx.dataBase.entity;

import com.dragon.common.JpaBean;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.Setter;
import lombok.ToString;
import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 数据表表查询配置 实体类
 *
 * @author dragon
 * @version V1.0
 * @date 2025-6-23
 */
@Entity
@Table(name = "db_table_search_config")
@org.hibernate.annotations.Table(appliesTo = "db_table_search_config", comment = "数据表表查询配置")
@Getter
@Setter
@ToString
@RequiredArgsConstructor
@DynamicUpdate
@DynamicInsert
public class TableSearchConfigEntity extends JpaBean<TableSearchConfigEntity> {
    /**
     *数据库名 
     */
    @Column(columnDefinition = " varchar(255)   comment ' 数据库名' ")
    private String schemaName;


    /**
     *表名 
     */
    @Column(columnDefinition = " varchar(255)   comment ' 表名' ")
    private String tableName;


    /**
     *查询名
     */
    @Column(columnDefinition = " varchar(255)   comment ' 查询名' ")
    private String propName;


    /**
     *查询类型 
     */
    @Column(columnDefinition = " varchar(255)   comment ' 查询类型' ")
    private String queryType;


    /**
     *模糊查询字段 
     */
    @Column(columnDefinition = " varchar(255)   comment ' 模糊查询字段' ")
    private String blurry;

    /**
     *字段名
     */
    @Column(columnDefinition = " varchar(255)   comment ' 字段名' ")
    private String filedName;

}